﻿#pragma once
// Copyright (c) lanyeo 2020-2021
// Licenced under MIT license. See https://opensource.org/licenses/MIT for details.
// code style
// 1. use forward declaration (尽可能使用前置声明)
// 2. include file sequence [other project>c>c++>third>self project]
// 

#include <thirdparty/xml_paser.h>

struct TaskConf;

class CTaskConfParser : public XmlParser
{
public:
    explicit CTaskConfParser();
    ~ CTaskConfParser() override;
    CTaskConfParser(CTaskConfParser& cp) = delete;
    const TaskConf* conf();
    bool Parser(XMLElement* root) override;
private:
    TaskConf* m_conf;
};
